home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000268_news@newsmaster….columbia.edu _Thu Feb 26 12:32:39 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA07201
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 26 Feb 1998 12:32:38 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA10689
  7.     for kermit.misc@watsun; Thu, 26 Feb 1998 12:32:38 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Can't change to that directory
  12. Date: 26 Feb 1998 17:32:35 GMT
  13. Organization: Columbia University
  14. Lines: 49
  15. Message-ID: <6d48vj$2ns$1@apakabar.cc.columbia.edu>
  16. References: <6d455p$1u0$1@samba.rahul.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8460
  19.  
  20. In article <6d455p$1u0$1@samba.rahul.net>,  <dold@network.rahul.net> wrote:
  21. : I am running  Kermit 95 1.1.15...
  22. : On my PC, there are some scanned images in a directory
  23. : D:\HP OfficeJet 500\images
  24. File and directory names that contain spaces are a Very Bad Idea.
  25. Yes, they are cute for GUIs when you can click on them, but they do not
  26. mix well with text-mode programs in which commands are a series of
  27. fields separated by spaces, and therefore are not very useful in open
  28. environments using open methods of remote access, as opposed to closed,
  29. proprietary GUI methods.
  30.  
  31. : From a Unix prompt
  32. : SunOS foxtrot 4.1.3_U1 6 sun4c
  33. : C-Kermit 6.0.192 Release Candidate 1, 6 Sep 96, for SunOS 4.1 (BSD)
  34. : I tried 
  35. : kermit -g 'D:/HP OfficeJet 500/images/*'
  36. :
  37. The shell quoting succeeds in passing the filename to C-Kermit as a
  38. single argument, but remember the GET command (or at least the underlying
  39. protocol) lets you request several filenames at once.  Thus the server
  40. thinks you have given three file specifications instead of one.
  41.  
  42. Currently there is no mechanism in the Kermit protocol itself for
  43. differentiating in a GET request packet between one filename with spaces
  44. and multiple filenames.  This will need to be addressed.
  45.  
  46. In the meantime, you will have to do the same thing with Kermit that you
  47. do with all other text-based software when you want to cope with filenames
  48. like this: learn some awkward quoting rules and apply them.  In this case:
  49.  
  50.   kermit -g 'D:/HP\\{32}OfficeJet\\{32}500/images/*'
  51.  
  52. : This looks like a bug that might have been addressed in 1.1.14-> 1.1.15,
  53. : but that doesn't seem to work for me.
  54. We do handle filnames with spaces in many other contexts, but currently not
  55. in this one, except as shown above.
  56.  
  57. Solution 2: Use the FAT name.
  58.  
  59. : By the way, I like the new "GUI patch".  Very nice, with one problem.  As
  60. : most windows products, warning windows pop up over the top of the message
  61. : that you are being warned about.
  62. No comment.
  63.  
  64. - Frank